
    function deleteQuestions(node) {
        if (confirm("确定删除此问题嘛？")){

            var id=$(node).parents("tr").find(".td-id").html();
            $.ajax({
                url: "delQuestion.action",
                type: "post",
                async: "true",
                dataType: "json",
                contentType: "application/x-www-form-urlencoded;charset=utf-8",
                data: {
                    "questionsid":id
                },
                success: function (data) {
                    alert(data.msg);
                    getQuestionsInfo()
                },
                error: function () {
                    alert("请求错误");
                }
            })
        }
}

